" It is my vimrc configuration script, 
" <email> hunterteaegg@163.com
" <author> hunterteaegg
"
" Aug,16,2021

set nocompatible
syntax on
set hidden
set nobackup
set nowritebackup
set cmdheight=2
set updatetime=300
set tabstop=4
set encoding=utf-8
set smartindent

call plug#begin('~/.vim/plugged')
  Plug 'preservim/nerdtree'
  Plug 'neoclide/coc.nvim', {'branch': 'release'}
  Plug 'vim-airline/vim-airline'
  Plug 'vim-airline/vim-airline-themes'
call plug#end()

let g:coc_disable_startup_warning=1

function Fileheader()
		call append(0, "/*")
		call append(1, "// Filename: ".expand("%:t"))
		call append(2, "// Date: ".strftime("%Y-%m-%d"))
		call append(3, "// Description: ")
		call append(4, "// <author>hunterteaegg")
		call append(5, "// <email>hunterteaegg@163.com")
		call append(6, "*/")
endfunction

nmap <silent><F1> :NERDTree<CR>

